//
//  MeViewController.m
//  模仿简书自定义Tabbar（纯代码）
//
//  Created by 余钦 on 16/5/30.
//  Copyright © 2016年 yuqin. All rights reserved.
//

#import "MeViewController.h"
#import "TestViewController.h"
#import "WKWebViewController.h"
@implementation MeViewController
- (void)viewDidLoad{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"我的";
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(100, 100, 100, 100);
    [btn setTitle:@"点击" forState:UIControlStateNormal];
    [btn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [self.view addSubview:btn];
    [btn addTarget:self action:@selector(handelBtn) forControlEvents:UIControlEventTouchUpInside];
}
- (void)handelBtn {
    WKWebViewController *webVc = [[WKWebViewController alloc] init];
    webVc.url = @"https://www.baidu.com";
    [TabBarView_Manager pushViewController:webVc animated:YES];
}

@end
